package proxy.example.staticproxy;

import proxy.example.SchoolGirl;

/**
 * @author Chen Guang
 * @date 2019/3/29 0029 下午 16:35
 */
public class Test {
    public static void main(String[] args) {
        SchoolGirl jiaojiao = new SchoolGirl("娇娇");
        Proxy proxy = new Proxy(jiaojiao);

        proxy.giveChocolate();
        proxy.giveDolls();
        proxy.giveFlowers();
    }
}
